package generator.groupclass;

import generator.structure.Pair;

import java.io.File;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

public class Mutual extends Group{

	public Mutual(int currentDays, int generateDays, int generateRows, String theta, String phi, String lp, String lpTemp, String key_, int topicNumbers, int lpDimension) {
		super(currentDays, generateDays, generateRows, theta, phi, lp, lpTemp, key_, topicNumbers, lpDimension);
	}

	public String getPHIfile(int i) {
		String phiFile = phi_ + "/mutual/" + i + ".txt";
		
		File file = new File(phi_ + "/mutual/");
		file.mkdirs();
		
		return phiFile;
	}
	
	public String getThetaFile(int i) {
		String thetaFile = theta_ + "/mutual/" + i + ".txt";
		
		File file = new File(theta_ + "/mutual");
		file.mkdirs();
		
		return thetaFile;
	}
	
	public String getLpFile(int i) {
		String lpFile = lp_ + "/mutual/" + i + ".txt";
		
		File file = new File(lp_ + "/mutual");
		file.mkdirs();
		
		return lpFile;
	}
	
	public String getLpTempFile(int i) {
		String lpTempFile = lpTemp + "/mutual/" + i + ".txt";
		
		File file = new File(lpTemp + "/mutual");
		file.mkdirs();
		
		return lpTempFile;
	}
	
	public String getKeyFile(int i) {
		
		String keyFile = key_ + "/mutual/" + i + ".txt";
		
		File file = new File(key_ + "/mutual");
		file.mkdirs();
		
		return keyFile;
	}
	
}
